package driver.ui.driver;

import driver.ui.R;
import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class Pickupconfirm  extends Activity{
	TextView userName;
	TextView confirmedSharing;
	 private static final int HELLO_ID = 1;
	 @Override
	    public void onCreate(Bundle savedInstanceState) {
	      super.onCreate(savedInstanceState);
	      setContentView(R.layout.confirmation);
	      userName=(TextView)findViewById(R.id.confirmedname);
	      confirmedSharing=(TextView)findViewById(R.id.confirmed);
	    //Get Detail Confirmation Info
	        Bundle extras = getIntent().getExtras();
			String sentfrom = extras.getString("from");	
			String sentto= extras.getString("to");
			String name= extras.getString("username");
			userName.setText(name);
			confirmedSharing.setText(sentfrom+" has shared availability with you for 2 hours");
	      
	      
		 
	 }
     

}
